<?php
/**
 * @desc 旅客数据层
 * @author kevin.wang
 * @date 2015-01-01 12:00:00
 */
class Passenger extends Base
{
	//数据表
	protected $table = 'pert_passenger_info';
	//获取旅客列表
	public function getPassagerList($orderSn){
		$table = $this->table;
		$filed = "`passenger_info_id`,`user_id`,`order_sn`,`passenger_name`,`passenger_first`,`passenger_second`,`sex`,`certification_type`,  `certification_number`,`cartification_date`,`birthday`,`mobile`";
		$sql = "select {$filed} from `{$table}` where `delete_flag` = 0 and `order_sn` = :order_sn";
		return $this->select_table($sql, array(':order_sn'=>$orderSn));
	}

}
